
#ifndef __UM_HTTP_INPUT_BUFFER_H
#define __UM_HTTP_INPUT_BUFFER_H

#include <string.hpp>
#include <umlib/RefCounted.hpp>

struct InputStream : public RefCounted<InputStream>
{

	virtual ~InputStream() {
	}

	virtual bool readLine(UM::string& line) = 0;
	virtual int  read(void* buffer, size_t length) = 0;

};

#endif // __UM_HTTP_INPUT_BUFFER_H
